package com.dapangdong.testdemo.controller.test;

import cn.hutool.core.util.NumberUtil;
import com.atguigu.gulimall.basic.gofastdfs.service.HelloService;
import com.dapangdong.testdemo.annotation.Operation;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

import java.util.Map;
import java.util.UUID;

/**
 * <p>
 *
 * </p>
 *
 * @author : yhd
 * @program: gulimall
 * @since : 2023-04-10 09:55
 */
@Api(tags = "自定义Starter")
@RestController
@RequiredArgsConstructor
public class StarterController {

    private final HelloService helloService;


    @ApiOperation(value = "GET请求")
    @GetMapping(value = "/starter")
    public String get() {
        return helloService.sayHello();
    }





}
